home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / src / demos / GL / buttonfly / Makefile < prev    next >
Makefile  |  1994-08-01  |  620b  |  37 lines

  1. #!smake
  2.  
  3. include $(ROOT)/usr/include/make/commondefs
  4.  
  5. # This makefile creates the buttonfly program
  6. #
  7.  
  8. # Libraries to link with to get the GL and X11 libraries.
  9.  
  10. TARGETS    = buttonfly
  11.  
  12. LLDLIBS    = ../libdemo/libdemo.a -lgl -lX11 -limage -lgutil
  13. LCINCS    = -I../libdemo
  14. CVERSION = -cckr
  15.  
  16. CFILES    = buttonfly.c lexer.c textmap.c
  17. YFILES    = parser.y
  18. LDIRT    = y.tab.h Times-Italic.bw
  19. HFILES    = kurtfont.h buttonfly.h data.h textmap.h
  20.  
  21.  
  22. all default: $(TARGETS)
  23.  
  24. include $(COMMONRULES)
  25.  
  26. depend incdepend fluff: y.tab.h
  27.  
  28. ${TARGETS}: ${OBJECTS}
  29.     ${CCF} ${OBJECTS} $(LDFLAGS) -o $@
  30.  
  31. $(OBJECTS): y.tab.h
  32.  
  33. y.tab.h:
  34.     $(YACCF) -d $(YFILES)
  35.  
  36.